package com.huatai.saas.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 公告类内容的出参实体类
 * @program: nanming-saas
 * @author: zcw
 * @create: 2024-04-24 14:40
 */
@Data
public class AnnouncementVO implements Serializable {

	private static final long serialVersionUID = -7101724983449293895L;
	/**
     * 主键id
	 */
	@ApiModelProperty("主键id")
	private Long id;
    /**
     * 标题
	 */
	@ApiModelProperty("标题")
	private String title;
    /**
     * 内容
	 */
	@ApiModelProperty("内容")
	private String content;
	/**
     * 更新时间
	 */
	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime updateTime;
	/**
     * 创建时间
	 */
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;
}
